Path
Constructors
Types
Functions
appendLine
Link copied to clipboard
suspend fun appendLine(data: String, encoding: String? = "utf8", createParents: Boolean = true)
Content copied to clipboard
Append a line to this file (adds lineSeparator to data).
appendLineSync
Link copied to clipboard
fun appendLineSync(data: String, encoding: String? = "utf8", createParents: Boolean = true)
Content copied to clipboard
Append a line to this file (adds lineSeparator to data).
appendStream
Link copied to clipboard
fun appendStream(encoding: String? = "utf8", createParents: Boolean = true): <ERROR CLASS>
Content copied to clipboard
appendSync
Link copied to clipboard
copyChildrenInto
Link copied to clipboard
suspend fun copyChildrenInto(destDir: Path, recursive: Boolean = true, force: Boolean = true)
Content copied to clipboard
Copy this directory's children into the directory destDir, creating it if it does not exist.
deleteRecursively
Link copied to clipboard
descendant
Link copied to clipboard
isDescendantOf
Link copied to clipboard
moveChildrenInto
Link copied to clipboard
readBytesSync
Link copied to clipboard
readStream
Link copied to clipboard
readTextSync
Link copied to clipboard
requireDirectory
Link copied to clipboard
Throw if this path is not a directory, or doesn't exist and requireExists is true (as it is by default).
requireFile
Link copied to clipboard
write
Link copied to clipboard
writeStream
Link copied to clipboard
fun writeStream(encoding: String? = "utf8", createParents: Boolean = true): <ERROR CLASS>
Content copied to clipboard
writeSync
Link copied to clipboard
Properties
Sources
js source
Link copied to clipboard